#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include "../bigNumbers/libBigNum.h"

using namespace std;

typedef struct Node{
	char *line;
	int lineNumber;
	Node* next;
} *PNode;

namespace logger{
	typedef struct Record
	{
		char *msg;
		char *filename;
		int lineNumber;
		Record *next;
	} *PRecord;

	void success(string, string, int);
	void fail(string, string, int);
	void exception(string, string, int);
	void init();
	void print();
}


PNode createNode(string, PNode, int);
void freeNode( PNode);
void freeList( PNode);
PNode readFile( string);
void splitByComma( string*, string);

void compareOperatorsTest();
void constructorTest();
void mathOperationTest();
void performanceTest();